package com.authsphere.security.common.user;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/20 19:27
 **/
public interface EnhanceUserDetailsService extends UserDetailsService {

    /**
     * 根据uuid和source获取用户信息
     * 第三方用户登录
     * @param uuid uuid
     * @param source source
     * @return
     */
    UserDetails loadUserByUuidAndSource(String uuid, String source);
}
